package com.painarthur.rbac.po;

public class ZtreePO {
	private Object id;
	private Object pid;
	private String name;
	private boolean isParent=false; 
	private boolean open;
	public ZtreePO(){
		
	}
	public ZtreePO(Object id, String name,Object pid){
		this.id = id;
		this.pid = pid;
		this.name = name;
	}
	public ZtreePO(Object id, String name,Object pid,boolean isParent,boolean open){
		this.id = id;
		this.pid = pid;
		this.name = name;
		this.isParent = isParent;
		this.open = open;
	}
	public Object getId() {
		return id;
	}
	public void setId(Object id) {
		this.id = id;
	}
	public Object getPid() {
		return pid;
	}
	public void setPid(Object pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isParent() {
		return isParent;
	}
	public void setParent(boolean isParent) {
		this.isParent = isParent;
	}
	public boolean isOpen() {
		return open;
	}
	public void setOpen(boolean open) {
		this.open = open;
	}
}

